package com.ruoyi.iot.domain;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * <p>
 * iot API信息表
 * </p>
 *
 * @author wwren
 * @since 2023-11-02
 */

public class IotModelTypeEntity extends BaseEntity {

    private static final long serialVersionUID=1L;

    private String id;

    /**
     * 分组id
     */
    private String sourceGroupId;

    /**
     * 接口类型：pull push
     */
    private String apiType;

    /**
     * api id
     */
    private String apiId;

    /**
     * 模型id
     */
    private String dataModelId;//从apiId选择配置的

    /**
     * 模型表
     */
    private String dataModelTable;//从apiId选择配置的

    /**
     * 名称
     */
    private String name;

    /**
     * 类型编码
     */
    private String code;

    /**
     * 配置
     */
    private String config;

    /**
     * 频率
     */
    private String crontab;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSourceGroupId() {
        return sourceGroupId;
    }

    public void setSourceGroupId(String sourceGroupId) {
        this.sourceGroupId = sourceGroupId;
    }

    public String getApiType() {
        return apiType;
    }

    public void setApiType(String apiType) {
        this.apiType = apiType;
    }

    public String getApiId() {
        return apiId;
    }

    public void setApiId(String apiId) {
        this.apiId = apiId;
    }

    public String getDataModelId() {
        return dataModelId;
    }

    public void setDataModelId(String dataModelId) {
        this.dataModelId = dataModelId;
    }

    public String getDataModelTable() {
        return dataModelTable;
    }

    public void setDataModelTable(String dataModelTable) {
        this.dataModelTable = dataModelTable;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getConfig() {
        return config;
    }

    public void setConfig(String config) {
        this.config = config;
    }

    public String getCrontab() {
        return crontab;
    }

    public void setCrontab(String crontab) {
        this.crontab = crontab;
    }
}
